{extend name="layouts/app" /}

{block name="content"}
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-form layui-card-header layuiadmin-card-header-auto">
            <form class="layui-form">
                <div class="layui-form-item searchBox">
                    <div class="layui-inline">
                        <button type="button" class="layui-btn layui-btn-warm open-btn">
                            <i class="layui-icon layui-icon-down layuiadmin-button-btn"></i>展开
                        </button>
                    </div>

                    <div class="layui-inline">

                    </div>

                    <div class="layui-inline" style="float: right;">
                        <a href="javascript:;" class="layui-btn layui-btn-normal add_btn"><i class="layui-icon layui-icon-add-circle-fine layuiadmin-button-btn"></i> 新增菜单</a>
                    </div>
                </div>
            </form>
        </div>

        <div class="layui-card-body">
            <table id="dataTable" lay-filter="dataTable"></table>
        </div>
    </div>
</div>

<input type="hidden" class="datalist_url" value="{{:url('/'.strtolower($model).'/ajaxIndex')}}">
<input type="hidden" class="add_url" value="{{:url('/'.strtolower($model).'/add')}}">
<input type="hidden" class="edit_url" value="{{:url('/'.strtolower($model).'/edit')}}">
<input type="hidden" class="delete_url" value="{{:url('/'.strtolower($model).'/delete')}}">
<input type="hidden" class="sorting_url" value="{{:url('/'.strtolower($model).'/listOrders')}}">
{/block}

{block name="pagescript"}
<script src="{{:asset('__STATIC__/admin/pages/js/adminmenu.js')}}" type="text/javascript"></script>
{/block}
